package day8;

import java.io.File;

/**
 * @author oldliu
 * @since 1.0
 */
public class File3 {
    public static void main(String[] args) {
//        File f=new File("E:\\temp");
//        String[] fs = f.list();
//        System.out.println(fs);
//        for(String s:fs)
//            System.out.println(s);

        File f=new File("E:\\temp/shuxue.log");
        boolean b=f.delete();
        System.out.println(b?"删除成功":"删除失败");
    }
}
